package com.by.course.entity.vo.course.resp;

import com.by.course.entity.pojo.LessonInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel("查询课程结果")
public class BaseCourseResultVO implements Serializable {

    @ApiModelProperty(value = "课程ID")
    private Long id;

    @ApiModelProperty(value = "项目名称")
    private String name;

    @ApiModelProperty(value = "授课教师ID")
    private Long teacherId;

    @ApiModelProperty(value = "'项目状态: 1 开启，2 关闭';")
    private Integer status;

    @ApiModelProperty(value = "项目价格")
    private BigDecimal price;

    @ApiModelProperty(value = "课程时长")
    private Integer duration;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "项目描述")
    private String description;

    @ApiModelProperty(value = "章节列表")
    private List<LessonInfo> lessonList;

    private static final long serialVersionUID = 1L;
}